/*
	Name: CSS3 Dropdown Menu
	Created in: March 2013
	Description: Basic CSS3 Dropdown Menu with simple animation
	Version: 1.0
	Author: Christian Vasile
	Author URL: http://christianvasile.com
*/

body {
	background-image: url('img/bg.png');
	font-family: Helvetica;	
}
#ribbon {
  position:absolute;
  top:0px;
  right:0px;
  background:#B62011;
  background:-webkit-linear-gradient(left,#F60100,#B62011);
  background:-moz-linear-gradient(left,#F60100,#B62011);
  background:-ms-linear-gradient(left,#F60100,#B62011);
  background:-o-linear-gradient(left,#F60100,#B62011);
  background:linear-gradient(left,#F60100,#B62011);
  border:1px dashed rgba(255,255,255,0.4);
  width:250px;
  padding:12px 0;
  text-align:center;
  color:#fff;
  font:bold 16px Cambria,Georgia,Serif;
  font-style:italic;
  text-shadow:0px 1px 3px rgba(0,0,0,0.4);
  -webkit-transform:rotate(45deg) translate(72px,-7px);
  -moz-transform:rotate(45deg) translate(72px,-7px);
  -ms-transform:rotate(45deg) translate(72px,-7px);
  -o-transform:rotate(45deg) translate(72px,-7px);
  transform:rotate(45deg) translate(72px,-7px);
  -webkit-box-shadow:0px 3px 0px #B40505,0px -3px 0px #B40505,0px 4px 4px rgba(0,0,0,0.4);
  -moz-box-shadow:0px 3px 0px #B40505,0px -3px 0px #B40505,0px 4px 4px rgba(0,0,0,0.4);
  box-shadow:0px 3px 0px #B40505,0px -3px 0px #B40505,0px 4px 4px rgba(0,0,0,0.4);
}
/* Reset */
.menu,
.menu ul,
.menu li,
.menu a {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
}

/* Positioning */
ul.menu {
	margin: 150px auto 0 auto;
}

/* Menu */
.menu {
	height: 40px;
	width: 590px;
	
	background: #4c4e5a;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	
	background: linear-gradient(top, #535562 0%, #202023 100%);
	background: -moz-linear-gradient(top, #535562 0%, #202023 100%);
	background: -webkit-linear-gradient(top, #535562 0%, #202023 100%);		
	background: -ms-linear-gradient(top, #535562 0%, #202023 100%);	
}

.menu li {
	list-style: none;
	float: left;
	display: block;
	height: 40px;
	position: relative;
}

/* Links */
.menu li a {
	display: block;
	text-decoration: none;
	font-weight: bold;
	color: #FFF;
	font-size: 15px;
	padding: 0 15px;
	margin: 5px 0;
	line-height: 30px;
	border-left: 1px solid #393942;
	border-right: 1px solid #393942;
	
	transition: color .3s ease;
	-moz-transition: color .3s ease;
	-webkit-transition: color .3s ease;
	-ms-transition: color .3s ease;			
}

.menu li:first-child a { border-left: none; }
.menu li:last-child a { border-right: none; }

.menu li:hover > a { color: #b94861; }

/* Sub Menu */

.menu ul {
	position: absolute;
	opacity: 0;
	background: #575a62;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;	
		
	transition: opacity .25s ease .1s;
	-moz-transition: opacity .25s ease .1s;
	-webkit-transition: opacity .25s ease .1s;
	-ms-transition: opacity .25s ease .1s;				
}

.menu li:hover > ul {
	opacity: 1;
}

.menu ul li {
	height: 0;
	overflow: hidden;
	padding: 0;
     
}

.menu li:hover > ul li {
	height: auto;
	overflow: visible;
     }

.menu ul li a {
	width: 100px;
	margin: 0;
	padding: 5px 15px;
	border: none;
	border-bottom: 1px solid #353539;	
}

.menu ul li:last-child a { border: none; }